﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace DataLayer.Entities
{
    public class Contact
    {
        public int ContactID { get; set; }
        [Required(ErrorMessage="O nome deve ser preenchido"), StringLength(100)]
        public String Name { get; set; }
        [Required(ErrorMessage="O e-mail deve ser preenchido")]
        public String Email { get; set; }
        public String Phone { get; set; }
    }
}
